<html>
<head>
	<meta charset="utf-8">
	<script src="/spring/js/jquery-1.11.3.min.js"></script>
</head>
<body>
<h2>welcome to login page</h2>
<div>
	<form action="/spring/index/loginCheck" method="post">
		<div>
			<span>请输入账号:</span>
			<input  name="mobile" type="text">
		</div>
		<div>
			<span>请输入密码:</span>
			<input  name="password" type="text">
		</div>	
		<div>
			<input type="submit" value="登录" id="submit">
		</div>
	</form>
</div>
<script src="/spring/js/xss.js"></script>
<script>
	$("#xss").click(function(){
		var data= $("#search").val();
		$("#content").html(data);
		return;
    	$.ajax({
			url:"<c:url value='/spring/index/xss'/>",
			type:"post",
			data:{
				data:data
			},
			success:function(data){
			}
		})
	});
</script>
</body>
</html>
